home *** CD-ROM | disk | FTP | other *** search
/ Maclife 2 / MACLIFE02-No-82-1995.ISO.7z / MACLIFE02-No-82.ISO / 特集I / Anarchie-140 / Documentation < prev    next >
Text File  |  1994-10-25  |  21KB  |  396 lines

  1. Anarchie v1.4.0 ゥ 1993-94 Peter N Lewis
  2. This program is $10 shareware.
  3.  
  4. メI filled up my disk in 20 minutes!  Before Anarchie it would take
  5. me a good hour or more to download the same amount of stuff!モ - Russell Baird
  6.  
  7. As seen on TV (MacNeil/Lehrer Show, May&October 1994)
  8.  
  9. As demoed at Appleユs World Wide Developers Conference, May 1994
  10.  
  11. Second Place in the Best Scriptable Application category of the Everyday AppleScriptェ Contest, June 1994.
  12.  
  13. 4.5 stars - MacUser Sep 1994 (and they were using v1.1.3!)
  14.  
  15. ・ Contents
  16.  
  17.       What Anarchie Does
  18.       Features
  19.       Using Anarchie
  20.       Using Anarchie via AppleScript
  21.       Limitations
  22.       Small Print
  23.       Warranty
  24.       Fine Print
  25.       How It Works
  26.       Version History
  27.       Acknowledgements
  28.  
  29. ・ What Anarchie Does
  30.  
  31. Anarchie is an FTP and Archie client.  It will let you browse FTP sites, download files, or find them using an archie server.  It requires System 7 and MacTCP 1.1 or later.  Unfortunately many Archie servers are a bit on the flaky side, but donユt worry, just try another server!
  32.  
  33. ・Features
  34.  
  35. AppleGuide (thanks to Quinn!).
  36. Drag Manager support.
  37. AppleScritable and Recordable.
  38. SOCKS support.
  39. SITE INDEX support.
  40. Queries Archie servers and lists results.
  41. Gives full access to FTP sites in a connectionless manner.
  42. Save bookmarks to FTP sites for later listing or fetching.
  43. Comes with bookmarks to many popular sites.
  44. Fetches files from list windows with just a double-click.
  45. Supports MacBinary decoding.
  46. Forwards fetched files to StuffIt Expander for decoding.
  47. Fetch&Store files and listings using AppleScript independently of archie.
  48. Uses Fetchユs メSuffix Mappingモ to determine file type and transfer mode.
  49. Supports UserLandユs MenuSharing.
  50.  
  51. ・ Using Anarchie
  52.  
  53. Note: Anarchie is spelled that way, only the first letter is capitalised, and is pronounced メAnarchyモ, not メAn archieモ.
  54.  
  55. Simply launch Anarchie.  Choose Preferences and fill in the info there.  Then choose Archieノ, and select a server, choose the kind of search you want done, the maximum number of matches to return, whether the search is case sensitive, and then type in your search request.  Click the Search button.  Anarchie will then attempt to query the selected server.  
  56.  
  57. Important: Note that some servers apear to be VERY unstable, certainly the Australian one comes and goes.  If you canユt get a result from one, just try another.  You can fetch an up to date Archie Server List with the メFetch Server Listモ menu command.  Note also that the larger the number of matches you request, the longer it will take to reply.   Usually 20 matches will be plenty.
  58.  
  59. You can also use Anarchie to simply browse around FTP sites.  Choose Getノ,  then type in the host you want to FTP to (you can also put in a path name after a colon, or you can type (or Paste) in a URL).  Then click List and it will fetch a listing of that directory.  Then you can double-click folders to fetch further listings.  It behaves like TurboGopher in this respect.  You can also save references to folders to search them later.  Or just use the bookmark files I've provided, for example it lists over a dozen mirrors for the UMich and Info-Mac sites, so if you have trouble connecting to the home sites, try one of the many mirrors.
  60.  
  61. There are three kinds of archie searches:
  62.  
  63. simple substring which just looks for the word you type anywhere in the file name.
  64. pattern matching which looks for names like dehqx*.hqx
  65. regular expressions which looks for names like ^dehqx.*¥.hqx$
  66.  
  67. Each can be either case sensitive or case insensitive.  Since the Archie protocol doesnユt support all of these options some are converted into strange looking regular expressions.
  68.  
  69. Anarchie shows you the progress with a wildly inacurate GUESTimate of how long it will take (its not my fault, I just report what the server says).  When the server finishes responding, the results will be displayed.  You can select some entries and copy them (copies as host:path) or option-copy it (as ftp://host/path, which is the URL (Universal Resource Locator) format).  Double-clicking will fetch the file automagically.
  70.  
  71. If you know the site that the file is at, you can try using the Index command (in the Getノ window) to search a site for the file - only a few sites support this command though, so it will often fail to find any files, in which case you should complain to the site administrators and ask them to support the SITE INDEX command.
  72.  
  73. Anarchie supports using an alex server.  Alex is a file caching system that makes an FTP site with directories like /alex/edu/umich/archive/mac/mac/util/comm.  When you fetch a file from there, it gets the listing and the fetched file from the original archive, and caches the result on the server so if anyone else gets the file, they get it from the alex server.  This is used in Australia to try to cut down on the ftp use of the Australian<->USA link.  It isnユt very reliable.
  74.  
  75. Anarchie supports using an FTP firewall.  The firewall must pretend to be an FTP server, and must accept usernames of the form <user>@<host>, and then carry out the FTP to <host> specifuying a username of <user>.  Anarchie does not support any other kind of firewall, nor does it support any kind of UDP firewall.
  76.  
  77. Anarchie also supports SOCKS firewalls.
  78.  
  79. Anarchie will use the Suffix Mappings you define in Fetch to specify the file type and creator via the fileユs suffix (eg .txt).  If it doesnユt recognize the file, it will use binary mode, which means that text files will have carriage returns&linefeeds in them.  There is a cute little drag&drop utility called Drop Text by Todd Wilson that will fix such files with a minimum of fuss.
  80.  
  81. If you have Drag Manager (rumoured to be in System 7.5), then Anarchie will allow you to drag files to or from the Display windows to upload or download files.  Warning: some versions of the Drag Manager will crash if you drag more than one file to the Finder (or will simply ignore files other than the first one).  Also, if you drag files to the trash can, the Drag Manager will show the zooming rectangles to indicate that the operation failed even though it worked fine.
  82.  
  83. Tips:
  84. - Set Fetchユs Suffix Mapping for .txt, since this is used for View File and other things.
  85. - Make sure you have StuffIt Expander.  Setting it to メDelete Originalsモ is a good idea.
  86. - If an archie server doesnユt answer, try another server.
  87. - If an FTP site is busy, try another.  Try less-known servers first to share the load.
  88. - Make bookmarks for your favorite FTP directories (eg info-mac/game!).
  89. - Use メView Selectionモ to force files to be downloaded in text mode.
  90. - Most of the Finder Shortcuts work in Anarchieユs listing windows.
  91.       (eg, command-uparrow opens the parent, typing a name selects it, etc)
  92. - Hold down the option key when you double click/select a menu to edit bookmarks.
  93. - Hold down the option key and choose Edit Retry if the FTP name is slightly wrong.
  94. - Use the Show Log command to refetch files by doubleclicking entries
  95. - The Log will be empty unless you enable logging in the Preferences window.
  96. - Use the Clear menu command to remove entries from the Log.
  97.  
  98. ・ Using Anarchie via AppleScript
  99.  
  100. You can use Anarchie from AppleScript.  It has commands to search an archie server, as well as to fetch a file from an arbitrary ftp site.  You must be careful to set the timeout parameter though, otherwise if will fail if you try to fetch a large file.
  101.  
  102. Example AppleScript:
  103.  
  104. tell application "Anarchie"
  105.   with timeout of 5 * 60 seconds
  106.     find "dehqx" server "archie.internic.net" matches 20 with window
  107.     fetch file "HD:black-cat-startup.hqx" host "sumex-aim.stanford.edu" path "/info-mac/grf/black-cat-startup.hqx"
  108.     list file "HD:listing" host "sumex-aim.stanford.edu" path "/info-mac"
  109.     store file "HD:file" host "sumex-aim.stanford.edu" path "/incoming"
  110.   end timeout
  111. end tell
  112.  
  113. You can also use the メurlモ field to simplify some commands:
  114. or simpler:
  115.  
  116.     fetch url "sumex-aim.stanford.edu:/info-mac/grf/black-cat-startup.hqx"
  117.     store file "HD:file" url "ftp://user:password@host/path"
  118.  
  119. [Note that the URL can be a proper URL, or a simple メhost:pathモ form]
  120.  
  121. Check out the scripts provide.
  122.  
  123. Youユre on your own when it comes to Frontier, Iユve included some stuff from Leonard Rosenthol, but I have no idea what it does - cool and froody things I expect!
  124.  
  125. ・ Limitations
  126.  
  127. Anarchie requires System 7 and MacTCP 1.1 or later.  For large searches, large listings or many listings or searches or whatever, you may need to increase Anarchieユs memory partition (use Get Info in the Finder to do this).  To display FTP sites, Anarchie assumes the directory listing will look something like a normal Un・x one, if it doesnユt, it wonユt work.  I have a document available on how Anarchie (and other programs) parse the LIST output, so if you are writing a server or client, let me know and Iユll send you the document.
  128.  
  129. There may be problems with MS-Mail and/or Apple's CD-ROM driver v5.0.1.  The latter seems to poll the SCSI bus while there is no CD in and these polls somehow lock the machine up if they happen during Anarchie transfers.
  130.  
  131. You may also have a problem over SLIP/PPP with your modem hanging up during a transfer if your modem init string does not contain &D0 (which tells it not to hang up if the buffer fills up).
  132.  
  133. ・ Small Print
  134.  
  135. This program is Shareware, which means if you use it, you should send me US$10.  US dollars or personal checks in US dollars drawn on US banks are fine.
  136.  
  137. Site Licensing:
  138. World-Wide Source Code License: US$5000
  139. World-wide license: US$2000
  140. Universities or companies site license: US$500
  141. Curtin University and the University of Western Australia are exempt.
  142. Single-user license: US$10.
  143.  
  144. Use the Register provided to fill out the registration form and send (Email, Snail-Mail or FAX) it to my US distributer, Kagi Shareware.
  145.  
  146. If you purchase a site license, contact me for information on how to make this program automatically set the メI Paidモ flag in the Preferences dialog (for those who are interested, I leave the メI Paidモ checkbox off on my machine to ensure that the About box is not too annoying and it doesnユt trouble me, so live with it)
  147.  
  148. You may distribute this program any way you wish as long as you don't charge for it (reasonable download costs such as Compu$erve are ok I guess (although who would call Compu$erveユs download costs reasonable?)).  It would probably be a good idea to keep this documentation file with the program, but Iユm hardly likely to check up on you now am I!  I donユt guarantee any support, but I always answer my Email.  If I donユt answer Email its because your message didnユt get to me, or my reply bounced, so try again and include a valid Internet address if you can.
  149.  
  150. You MAY NOT DISTRIBUTE this program on any disk costing more than $5 without my explicit permission.
  151.  
  152. ・ Warranty
  153.  
  154. This program should do what Iユve described in this document.  If it doesnユt, you can simply stop using it.  If you pay me, and within a year find that it doesnユt do what I describe here, then you can notify me and I will refund your money and cancel your license.
  155.  
  156. ・ Fine Print
  157.  
  158. Peter Lewis hereby disclaims all warranties relating to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose.  Peter Lewis will not be liable for any special, incidental, consequential, indirect or similar damages due to loss of data or any other reason, even if Peter Lewis or an agent of his has been advised of the possibility of such damages.  In no event shall Peter Lewis be liable for any damages, regardless of the form of the claim.  The person using the software bears all risk as to the quality and performance of the software.
  159.  
  160. US Governement:
  161.         Government End Users:  If you are acquiring the Software and fonts
  162. on behalf of any unit or agency of the United States Government, the
  163. following provisions apply.  The Government agrees:
  164.         (i) if the Software and fonts are supplied to the Department of
  165. Defense (DoD), the Software and fonts are classified as "Commercial
  166. Computer Software" and the Government is acquiring only "restricted rights"
  167. in the Software, its documentation and fonts as that term is defined in
  168. Clause 252.227-7013(c)(1) of the DFARS; and
  169.         (ii) if the Software and fonts are supplied to any unit or agency
  170. of the United States Government other than DoD, the Government's rights in
  171. the Software, its documentation and fonts will be as defined in Clause
  172. 52.227-19(c)(2) of the FAR or, in the case of NASA, in Clause
  173. 18-52.227-86(d) of the NASA Supplement to the FAR.
  174.  
  175. ・ How It Works
  176.  
  177. Anarchie connects to the archie server using the UDP prospero protocol and then, thru a complicated dance of exchanged packets, gets a response back which it reassembles into a list and then displays.  The fetching is done with the normal FTP protocol.
  178.  
  179. ・ Version History
  180.  
  181. Still Todo:
  182. Better support for Put (different format uploads)
  183. other FTP commands (arbitrary, mkdir)
  184. Moveable modal Find window
  185. Better GURL AppleEvent support
  186.  
  187. AppleScript: "save listing", "list by date/size/"
  188. cmd-click the window title to get popup of directories
  189. support passwords in bookmark listing windows
  190. support saving passwords in saved bookmarks
  191. support dragging entried to the bookmark list to create bookmarks
  192. true grey for grey rounded rect around default buttons
  193. Regexp helper?
  194. way cool help window with topics and stuff and throw away the documentation files.
  195.  
  196. o option double click to close parent window
  197. Option-click headers to sort in reverse (eg au.edu.curtin.info).
  198. "Get Info" like notes for URLs.
  199. Use Expander's Expand event so that I can notify when it's finished.
  200. tcl support?
  201. Remeber last sort, or preference for prefered sort?
  202. fetch a file when it exists should give a helpful prompt.
  203. Try to fetch file.hqx in favour of file.hqx.{Z,z,gz} to see if the site will decode it
  204. AE set/get preferences
  205. AE line 3 of window 1
  206. support for gopher and WWW as well ;-)
  207.  
  208. 1.4.0
  209. Fixed About box popping up all the time bug
  210. Moved firewall stuff out of the generic preferences window into its own window
  211. Added "PASV" preference, and disabled it by default. (So much for following the RFC)
  212. Add FTP menu and Put&Delete menu items.
  213. Active assistance on Put menu command
  214. Weak support for ACCT command.
  215. Support for the geturl command of the URL Suite
  216.  
  217. 1.3.1
  218. Support PORT command if PASV fails
  219. Fixed menus in Preferences window
  220. Dont re-execute commands unnecessarily
  221. Include entire package!!!!  Moron!
  222.  
  223. 1.3.0
  224. Anarchie AppleGuide by Quinn!
  225. Support for the SITE INDEX command
  226. SOCKS support
  227. UMich and Info-Mac prefered mirrors.
  228. Bookmarks is now a file
  229. always log, always メauto downloadモ
  230. zoom to not showing the path
  231. shift tab in get dialog
  232.  
  233. 1.2.1
  234. Bug fix for downloading binary, non-MacBinary files.
  235.  
  236. 1.2.0d7
  237. ~UI changes
  238. ~Drag Manager drag only if you click on the file name or icon.
  239.  
  240. 1.2.0d6
  241. ~pipeline multiple ftp request (especially important for ftp.apple.com).
  242. ~Bookmarks with more than one entry.
  243. ~Unbugged nonymous ftp.
  244. ~No more negative times hopefully :-)
  245. ~support NetWare server
  246.  
  247. 1.2.0d5
  248. ~Fixed? progress colours
  249. ~Drag Manager support
  250.  
  251. 1.2.0d4
  252. ~Save Bookmark should possibly add a string like " Bookmark"
  253. ~Only pay attention to option in odoc event if sent from the finder.
  254. ~revamp zoom code.
  255. ~Edit->Clear on Log window
  256. ~Update Balloon help
  257. ~Save URL bug
  258.  
  259. 1.2.0d3
  260. ~active log (still need to implement clear)
  261. ~Totally reorged the command keys (sorry!)
  262. ~search menu (Find, Find Again, All at once).
  263. ~FTP Transcript
  264. ~reasonably complete support for (readonly) nonymous FTP
  265. ~support partial and absolute paths
  266. ~option-copy in Get dialog copies as URL
  267. ~paste of URL splits across fields.
  268. ~Fixed up the progress bar (oops ;)
  269. ~Added some minor changes to interoperate better with Fetch/NewsWatcher.
  270.  
  271. 1.1.4d1
  272. ~Started on transcripts
  273. ~Fixed a bug that caused some directories to come up empty, and some -49 errors.
  274.  
  275. 1.1.3
  276. Released three times inside 24 hours to become 1.1.3 - don't ask.
  277.  
  278. 1.1.1d3
  279. ~Allow listing host:/path/file*
  280. ~uniquefy the destination name rather than prompting.
  281. ~Cmd-1,2,3 to set radio buttons in each dialog
  282. ~Only numbers in Size and Matches fields.
  283. ~Option-(return, doubleclick,etc) all bring up the Edit dialog now.
  284.  
  285. 1.1.1d2
  286. ~Improve timeout message (just put up "nothing found" window).
  287. ~Time remaining in FTP progress.
  288. ~Using new DNR code (lots of new bugs I expect)
  289. ~Zoom leaves room for disk icons.
  290. ~Fixed a bug that caused メzonesモ to be incorrect on occasion.
  291. ~Cmd-. or escape while finding terminates the find and displays the results.
  292.  
  293. 1.1.1d1
  294. ~Added prefs for opening the Bookmarks List, and not using Expander.
  295. ~Fixed bug with dot (.) not working in patterns.
  296. ~Open Folder opens a bookmark listing
  297. ~cps display in store/fetch progress?
  298. ~Partial results - really this time.
  299. ~Minor UI fix
  300. ~Added URL support to AppleEvents
  301. ~Added support for "current selection" AppleEvent
  302. ~Fixed bug with binary mode listing transfers (actually a bug in some servers)
  303.  
  304. 1.1.0d7
  305. ~Allow port specification in Firewall.
  306.  
  307. 1.1.0d6
  308. ~Force save rating et al after changes.
  309. ~Fixed some bugs in the cache code (surprise!)
  310. ~Fixed some bugs in the sort code (surprise!)
  311. ~Improved FTP listing compatibility (the Newton site broke it).
  312. ~Minor UI issues and redid balloon help (Thanks Quinn).
  313. ~Minor scroll bar glitch.  Sigh.
  314.  
  315. 1.1.0d5
  316. ~Cache ftp connections to avoid reopening.
  317. ~Increase sort speed by an order of magnitude or two.
  318. ~Randomize (Sorry Jim :-)
  319. ~Fixed colour icons to use only allowed colours, and added bookmark colour icon
  320. ~Trashed pref icons, use file type "pref" to get default icon instead.
  321. ~balloon help for Window menu
  322. ~Dates are not always for THIS year - they are for withing the last year!
  323. ~cmd-uparrow opens parent
  324.  
  325. 1.1.0d4
  326. ~Balloon Help for menus.
  327. ~Regex helper - tutorial.
  328. ~Decode .sit/.cpt files after decoding MacBinary file
  329. ~mastermind.cpt.hqx (in game/board) is NOT a directory :-(
  330. ~Partial results
  331. ~added date and mode to the log.
  332. ~added retry menu (it might even work)
  333. ~position the "save changes" alert.
  334. ~status strings
  335. ~out of disk space gives sensible error (as do other errors)
  336. ~dir name in window listing instead of "Directory Listing"
  337. ~New about box? prompt? display usage?  Newbie rating
  338.  
  339. 1.1.0d3
  340. ~Log file (does it need more info?)
  341. ~Barber poll progress
  342. ~Pg up/down, home/end keys
  343. ~Balloon Help
  344. ~increase memory to 300k?
  345. ~Save Bookmarks of list window gives no default name
  346. ~Out of memory dialog is not big enough
  347. ~archie comes up with no server selected???
  348. ~cmd keys for fetch list/fetch file? (cmd-1 & cmd-2)
  349. ~Edit *menu* doesn't work
  350. ~Make button light up on paste
  351. ~TEXT mode solution (View Selection)
  352. ~Automagic MacBinary detection.
  353. ~option-close box & Command-option-W
  354. ~close box -> AppleEvent
  355. ~Finder shortcuts
  356.  
  357. 1.1.0d2
  358. ~Windows menu.
  359. ~Full connectionless anonymous FTP client.
  360. ~Saveable URL documents
  361. ~Non-modal Get File/Directory dialog.
  362. ~double-click dir brings up list of files similar to archie list
  363.  
  364. 1.1.0d1
  365. ~Finder-like "Name, Size, etc header" with sorting
  366. ~Improved "no result" display
  367. ~Support FTP firewalls. (do they all behave the same?)
  368. ~Preference to open Find window on startup.
  369. ~Added the server name to the listing windowユs title.
  370. ~Supports windows wider than 1000 pixels (well, I don't have one :-)
  371. ~Only use "-" in password for anonymous logins, since some servers don't handle it.
  372.  
  373. 1.0.0 - First release
  374. ~AE store & list
  375. ~GrowZone
  376. ~MenuSharing.
  377. ~Fixed popup UI to abide by Appleユs HIG.
  378. ~Alex server support
  379. ~Multiple selections in the list window.
  380. ~Scriptable&Recordable fetch command
  381. ~Fetch SuffixMapping
  382. ~Send to StuffIt Expander
  383. ~Prefs dialog
  384.  
  385. ・ Acknowledgements
  386.  
  387. A huge thanks goes to Quinn for the amazing Anarchie Guide.  If you like it, please send him a note and say so <quinn@cs.uwa.edu.au>.  Also, cc him on any guide-related bugs (please include the guide version number).
  388.  
  389. Thanks also go to Dmitry Boldyrev & Igor Livshits for the icons, and to various people on my beta list for their suggestions.  Quinn & Leonard get the award for most implemented suggestions.
  390.  
  391. Thanks again to Leonard for the Frontier stuff.  Donユt ask me what it is, Iユm just including it - anything Leonard writes is certainly going to be good :-)
  392.  
  393. Thanks also to Chris W. Johnson and the folks at University of Texas at Austin for hosting the archie server list fetched by "Fetch Server List".  You might like to check out their archive at ftp://ftp.utexas.edu/pub/mac, or at http://wwwhost.ots.utexas.edu/mac/main.html if you want a WWW interface.
  394.  
  395. Thanks also to Jean-Pierre Kuypers for the french translation.
  396.